<template>
  <div id="box2"></div>
</template>

<script setup lang="ts">
import { onMounted } from "vue";

import { Base } from "../core/base";

class Base2 extends Base {
  constructor(dom: HTMLElement) {
    super(dom);
  }

  getaa() {
    return 123;
  }
}

onMounted(() => {
  let map = new Base2(document.querySelector("#box2")!);
  console.log(map);
});
</script>

<style scoped>
#box2 {
  height: 100%;
  width: 100%;
}</style>
